package com.upf1sh.bean;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;


@Data
@TableName("robot")
public class Robot implements Serializable {
    int id;
    @TableField("time")
    @ExcelProperty("日期")
    LocalDateTime time;

    @TableField("co2")
    @ExcelProperty("二氧化碳浓度(ppm)")
    float CO2;
    @ExcelProperty("温度1(℃)")
    @TableField("temp1")
    float temp1;

    @ExcelProperty("湿度2(RH)")
    @TableField("humidity1")
    float humidity1;

    @ExcelProperty("温度2(℃)")
    @TableField("temp2")
    float temp2;

    @ExcelProperty("湿度2(RH)")
    @TableField("humidity2")
    float humidity2;


    @ExcelProperty("风速(m/s))")
    @TableField("windspeed1")
    float windSpeed1;

    @ExcelProperty("风速2(m/s))")
    @TableField("windspeed2")
    float windSpeed2;


    @ExcelProperty("PM1(mg/cm3)")
    @TableField("pm1")
    float PM1;

    @ExcelProperty("PM2.5(mg/cm3)")
    @TableField("pm25")
    float PM25;

    @ExcelProperty("PM10(mg/cm3)")
    @TableField("pm10")
    float PM10;

    @ExcelProperty("光照强度1(Lux)")
    @TableField("illuminationintensity1")
    float illuminationIntensity1;//照明强度

    @ExcelProperty("光照强度2(Lux)")
    @TableField("illuminationintensity2")
    float illuminationIntensity2;//照明强度



    @ExcelProperty("位置坐标")
    String location;


}
